/**
 *
 * @author 朱雀
 */
Ext.define('SvgEditor.graph.Image', {
	extend: 'SvgEditor.graph.Rect',
	init: function(canvas, modelConfig) {
		var me = this;
//		, img = canvas.img;
//		img.setSrc(modelConfig.attrs.src);
//		var width = img.getWidth(), height = img.getHeight();
//		modelConfig.attrs.width = width;
//		modelConfig.attrs.height = height;
		var model = me.callParent(arguments);
//		img.setSize(1, 1);
		return model;
	}
});